package tcnplanner;

import java.io.Serializable;
import javax.persistence.Embeddable;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

@Embeddable
public class Item implements Serializable{

    private String name;
    @Enumerated(EnumType.STRING)
    private ItemType type;
    //private String supplier;
    public static enum ItemType { PROBER, HANDLER, TESTER, TDP, PROBECARD };
    
    //Wat moet ik met dit?
    //public TestSetup unnamed_TestSetup_;

    public Item(){
    }

    public Item(String name/*, String supplier*/, ItemType type) {
        this.name = name;
        this.type = type;
        //this.supplier = supplier;
    }

    public String getName() {
        return name;
    }
    
    public ItemType getType() {
        return this.type;
    }

    /*public String getSupplier() {
        return supplier;
    }*/
}
